#ifndef QILISUBTITLEAVATAR_H
#define QILISUBTITLEAVATAR_H

#include <QGraphicsPixmapItem>

class QiliImageLoader;

class QiliSubtitleAvatar : public QGraphicsPixmapItem
{
public:
    static constexpr qreal WIDTH = 23;
    static constexpr qreal HEIGHT = 23;

    explicit QiliSubtitleAvatar(const QString &url = QString(), QGraphicsItem *parent = nullptr);

private:
    QiliImageLoader *mImageLoader;
    QString          mUrl;
};

#endif // QILISUBTITLEAVATAR_H
